<?php
include $_SERVER['DOCUMENT_ROOT'] . '/class/_core.php';
include $_SERVER['DOCUMENT_ROOT'] . '/class/Material.php';

include dirname(__FILE__) . '/../../class/Customer.php';

$row=Material::getMaterialsList();
$cusList = Customer::getAllCustomers();

$Smarty->assign('cuslist', $cusList);
$Smarty->assign('material',$row);
$Smarty->display('workshop/create_buy_material.tpl'); 